package com.android.fitcontrol.bean;

public class Exercise {
	
	public final static String TABLE_NAME = "exercise";
	
	public final static String _ID = "_id";
	public final static String EXERCISE_NAME = "exerciseName";
	public final static String TRAINING_ID = "training_ID";
	public final static String ICON = "icon";
	
	public final static int NUM_ID = 0;
	public final static int NUM_EXERCISE_NAME = 1;
	public final static int NUM_ICON = 2;
	public final static int NUM_TRAINING_ID = 3;
	
	private int _id;
	private String exerciseName;
	private int training_ID;
	private int icon;
	
	public int get_ID() {
		return this._id;
	}
	public void set_ID(int exersice_ID) {
		this._id = exersice_ID;
	}
	public String getExerciseName() {
		return exerciseName;
	}
	public void setExerciseName(String exerciseName) {
		this.exerciseName = exerciseName;
	}
	public int getTraining_ID() {
		return training_ID;
	}
	public void setTraining_ID(int training_ID) {
		this.training_ID = training_ID;
	}
	public int getIcon() {
		return icon;
	}
	public void setIcon(int icon) {
		this.icon = icon;
	}
	
	public void mergeIntoObject(Exercise exercise){
		this.set_ID(exercise.get_ID());
		this.setExerciseName(exercise.getExerciseName());
		this.setIcon(exercise.get_ID());
		this.setTraining_ID(exercise.getTraining_ID());
	}
	
}
